package com.wzy.oa_sys.model.response.task;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Builder
public class TaskResp {

    @JsonProperty("id")
    private long id;
    @JsonProperty("type")
    private String type;
    @JsonProperty("title")
    private String title;
    @JsonProperty("desc")
    private String desc;
    @JsonProperty("starttime")
    private LocalDateTime starttime;
    @JsonProperty("deadline")
    private LocalDateTime deadline;
    @JsonProperty("promoter")
    private String promoter;
    @JsonProperty("promoterid")
    private long promoterid;
    @JsonProperty("deptname")
    private String deptname;
    @JsonProperty("deptid")
    private long deptid;
    @JsonProperty("state")
    private String state;
    @JsonProperty("priority")
    private int priority;
    @JsonProperty("recipient")
    private String recipient;
    @JsonProperty("evaluate")
    private String evaluate;
    @JsonProperty("charge")
    private String charge;
    @JsonProperty("chargeid")
    private long chargeid;
    @JsonProperty("reviewerId")
    private long reviewerId;
    @JsonProperty("reviewer")
    private String reviewer;
    @JsonProperty("exreason")
    private String exreason;

}
